package com.hgkj.cloud.base.dao;

import com.hgkj.cloud.base.domain.TenantOrderPsychologist;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface TenantOrderPsychologistMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TenantOrderPsychologist record);

    int insertSelective(TenantOrderPsychologist record);

    TenantOrderPsychologist selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TenantOrderPsychologist record);

    int updateByPrimaryKey(TenantOrderPsychologist record);

    TenantOrderPsychologist getPsychologistsbyPsyid(@Param("psychologist_id") String psychologist_id);

    int findAllPsychologistCount(String channel_id);

    List<TenantOrderPsychologist> listPsychologistsbyPsyid(String psychologist_id);

    List<TenantOrderPsychologist> listPsychologists(Map<String, Object> map);
}